var s = app.HttpRequest('http://www.netobjects.com/update/AutoUpdater.cgi', '', 'Application=Fusion&Version=' + version + '&VersionInfo=' + versionInfo, false, false, true);
if (app.CloseStatusDialog(0))
return false;
if (s.length == 0)
return false;
register(app); // We are online, check whether there is a need to register.
args = s.split(',');
if (args.length != 4)
return false;
var now = new Date();
var ms = now.getTime();
app2.DataLastChecked = Math.round(ms/1000);
app.LatestFusionUpdate = args[0] - 0;
app.LatestUpdater = args[1] - 0;
serviceUpdate = args[2] - 0;
hostingUpdate = args[3] - 0;
if (serviceUpdate > app.ServiceUpdate)
app.ServiceUpdate = serviceUpdate;
if (hostingUpdate > app.HostingUpdate)
app.HostingUpdate = hostingUpdate;
if (args.length >= 6)
{
serviceViewUpdate = args[4] - 0;
newsUpdate = args[5] - 0;
if (serviceViewUpdate > app.ServiceViewUpdate)
app.ServiceViewUpdate = serviceViewUpdate;
if (newsUpdate > app.NewsUpdate)
app.NewsUpdate = newsUpdate;
}
return true;
}
function checkOnline(title)
{
for (;;)
{
if (checkForUpdate(title))
return true;
if (app.Cancel)
return false;
if (window.showModalDialog("../InitFusion/Offline.html", 0,